import 'package:device_info_plus/device_info_plus.dart';

class DeviceInfoUtil {
  static final DeviceInfoPlugin _deviceInfo = DeviceInfoPlugin();

  /// DeviceInfoUtil: Get android sdk int.
  static Future<int> androidSDKInt() async {
    var android = await _deviceInfo.androidInfo;
    return android.version.sdkInt;
  }
}
